package com.zengguang.testkaoshi.dao;

import com.zengguang.testkaoshi.pojo.TeacherInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeacherInfoDao {
    //老师信息插入
    int insertTeacherInfo(TeacherInfo teacherInfo);
    //根据老师编号判断老师是否存在
    int getTeacherIDCount(int teacherinfoid);
    //修改老师信息
    int updateTeacher(TeacherInfo teacherInfo);
    //老师信息查询
    List<TeacherInfo> selectAllTeacher();
    //老师信息删除
    int deleteTeacher(int teacherinfoid);

}
